package com.baizhi.entity;

import java.util.Date;

/**
 * @Author: renpu
 * @Date: 2019/2/27 17:45
 * @Description:
 */
public class CmfzArticle {
    private int articleId;
    private String articleName;
    private String articleImage;
    private String articleContent;
    private int guruId;
    private Date articleDate;
    private CmfzGuru guru;

    public CmfzArticle(int articleId, String articleName, String articleImage, String articleContent, int guruId, Date articleDate, CmfzGuru guru) {
        this.articleId = articleId;
        this.articleName = articleName;
        this.articleImage = articleImage;
        this.articleContent = articleContent;
        this.guruId = guruId;
        this.articleDate = articleDate;
      this.guru = guru;
    }



    public CmfzArticle(int articleId, String articleName, String articleImage, String articleContent, int guruId, Date articleDate) {
        this.articleId = articleId;
        this.articleName = articleName;
        this.articleImage = articleImage;
        this.articleContent = articleContent;
        this.guruId = guruId;
        this.articleDate = articleDate;
    }

    public CmfzArticle(int articleId, String articleName, String articleImage, String articleContent, int guruId) {
        this.articleId = articleId;
        this.articleName = articleName;
        this.articleImage = articleImage;
        this.articleContent = articleContent;
        this.guruId = guruId;
    }


    public CmfzArticle() {
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public String getArticleName() {
        return articleName;
    }

    public void setArticleName(String articleName) {
        this.articleName = articleName;
    }

    public String getArticleImage() {
        return articleImage;
    }

    public void setArticleImage(String articleImage) {
        this.articleImage = articleImage;
    }

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent;
    }

    public int getGuruId() {
        return guruId;
    }

    public void setGuruId(int guruId) {
        this.guruId = guruId;
    }

    public Date getArticleDate() {
        return articleDate;
    }

    public void setArticleDate(Date articleDate) {
        this.articleDate = articleDate;
    }

    public CmfzGuru getGuru() {
        return guru;
    }

    public void setGuru(CmfzGuru guru) {
        this.guru = guru;
    }

    @Override
    public String toString() {
        return "Article{" +
                "articleId=" + articleId +
                ", articleName='" + articleName + '\'' +
                ", articleImage='" + articleImage + '\'' +
                ", articleContent='" + articleContent + '\'' +
                ", guruId=" + guruId +
                ", articleDate=" + articleDate +
                ", guru=" + guru +
                '}';
    }
}
